const sleep = timeountMS => new Promise(resolve => setTimeout(resolve, timeountMS));

(async() => {
	for (let i = 0; i < 5; i++) {
    console.log(new Date, i);
		await sleep(1000);
	}
})();
